Ext.define('Admin.model.employee.EmployeeModel', {
    extend: 'Admin.model.Base',
    fields: [
      {name: 'empId',mapping:'empId', type: 'int'},
        {name: 'empName',mapping:'empName',type: 'string'},
        {name: 'sex', type: 'string'},
        {name: 'user.userName',mapping:'user.userName', type: 'string'},
        {name: 'post.postName',mapping:'post.postName', type: 'string'},
        {name: 'post.part.partName',mapping:'post.part.partName', type: 'string'},
        {name: 'user.id',mapping:'user.id', type: 'int'},
    {name: 'birthday', type: 'date'},
    {name: 'joinTime', type: 'date'},
    {name: 'bornPlace', type: 'string'},
    {name: 'address', type: 'string'},
    {name: 'email', type: 'string'},
    {name: 'phone', type: 'string'},
    {name: 'ethnic', type: 'string'},
    {name: 'idcard', type: 'string'},
    {name: 'idcardImg', type: 'string'}
    ]
});